package com.cug.nageoffer.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("seeker_star")
public class UserStar {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 收藏用户id
     */
    private Integer userId;

    /**
     * 消息id
     */
    private Long msgId;

    /**
     * 岗位id
     */
    private Long jobId;

    /**
     * 公司id
     */
    private Long enterpriseId;

    /**
     * 面经id
     */
    private Long experience;

    /**
     * 收藏类型，非空（0消息、1岗位、2公司、3面经）
     */
    private Integer type;
}
